package org.jpass.dc.business.svn.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.jpass.dc.common.bean.UUIDSupport;

@Entity
@Table(name = "t_site")
public class Site extends UUIDSupport {
	private String userName;
	private String password;
	private String url;
	private String userId;
	
	public Site() {}
	
	public Site(String userName, String password, String url) {
		this.userName = userName;
		this.password = password;
		this.url = url;
	}
	
	@Column(nullable = false, length=50)
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	@Column(nullable = false, length=50)
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	@Column(nullable = false, length=255)
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	
	@Column(nullable = false, length=32)
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
}
